package com.ease.plugin.pluginClasses {
	import com.ease.core.plugin.PluginInfo;
	import com.ease.core.plugin.ResourceBase;
	import com.ease.plugin.traits.LoadTrait;
	import com.ease.plugin.traits.LoaderBase;

	import flash.display.Loader;

	/**
	 * @private
	 */
	internal class PluginLoadTrait extends LoadTrait {
		public function PluginLoadTrait(loader:LoaderBase, resource:ResourceBase) {
			super(loader, resource);
		}

		/**
		 * The <code>PluginInfo</code> reference.
		 */
		public function get pluginInfo():PluginInfo {
			return _pluginInfo;
		}

		public function set pluginInfo(value:PluginInfo):void {
			_pluginInfo = value;
		}

		/**
		 * The <code>Loader</code> used to load the plugin
		 */
		public function get loader():Loader {
			return _loader;
		}

		public function set loader(value:Loader):void {
			_loader = value;
		}

		private var _pluginInfo:PluginInfo;
		private var _loader:Loader;
	}
}